
<h1><?php echo $title; ?></h1>
<div class="noprint">
<?php if (isset($notice) || $notice = $this->session->flashdata('notification')):?>
<p class="notice"><?php echo $notice;?></p>
<?php endif;?>

<?php if (!$rows) : ?>
<p class="notice"><?php echo __("Nessuno risultato", $module);?></p>
<?php endif; ?>


<table class="list" cellpadding=3 >
	<thead>
		<tr>
				<th><?php echo __("Mese", $module) ?></th>
				<th><?php echo __("Importo netto") ?></th>
				<th colspan='2'><?php echo __("Azione") ?></th>
		</tr>
	</thead>
	<tbody>
<?php if ($rows) : ?>
<?php $i = 0; foreach ($rows as $row): ?>
<?php if ($i % 2 != 0): $rowClass = 'odd'; else: $rowClass = 'even'; endif;?>
		<tr class="<?php echo $rowClass?>">
				<td><?php echo anchor('adozioni/contabilita/missioni/contabilita/show/'. $id_missione . '/' . $anno . '/' . $row['mese'], $nome_mese[ $row['mese'] ]) ?></td>
				<td align="right"><?php  echo format_euro($row['ricevute']) ?></td>
				<td align="center"><?php echo anchor('adozioni/contabilita/missioni/contabilita/show/' .$id_missione . '/' . $anno . '/' . $row['mese'], __("Visualizza", $module)) ?></td>
				<td align="center"><?php echo anchor('adozioni/contabilita/missioni/contabilita/excel/' .$id_missione . '/' . $anno . '/' . $row['mese'], __("Excel", $module)) ?></td>
		</tr>
<?php $i++; endforeach; ?>
<?php endif; ?>
</tbody>
</table>	
